package sharedspace;
import java.io.Serializable;

public class Question implements Serializable, interfacep.Question {

	/**
	 * Question Entity
	 */
	private static final long serialVersionUID = 1L;
	public static int NUM_OF_COLUMNS = 11;
	private String questionID;
	private String questionSubject;
	private String question;
	private String questionCommet;
	private String[] answers = new String[4];
	private int correctAnswer;
	private Teacher author;
	private boolean inUse;
	
	public Question() {
		
	}

	public String getQuestionID() {
		return questionID;
	}

	public void setQuestionID(String questionID) {
		this.questionID = questionID;
	}

	public String getQuestionSubject() {
		return questionSubject;
	}

	public void setQuestionSubject(String questionSubject) {
		this.questionSubject = questionSubject;
	}

	public String getQuestion() {
		return question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

	public String[] getAnswers() {
		return answers;
	}

	public void setAnswers(String[] answers) {
		this.answers = answers;
	}

	public int getCorrectAnswer() {
		return correctAnswer;
	}

	public void setCorrectAnswer(int correctAnswer) {
		this.correctAnswer = correctAnswer;
	}

	public Teacher getAuthor() {
		return author;
	}

	public void setAuthor(Teacher author) {
		this.author = author;
	}

	public boolean isInUse() {
		return inUse;
	}

	public void setInUse(boolean inUse) {
		this.inUse = inUse;
	}

	public String getQuestionCommet() {
		return questionCommet;
	}

	public void setQuestionCommet(String questionCommet) {
		this.questionCommet = questionCommet;
	}
	
	
	
}
